home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / e-lang / bsplin10.rdm < prev    next >
Text File  |  1996-05-20  |  2KB  |  36 lines

  1. Short:    B-Splines editor using MUI. Source in E.
  2. Author:   m93kma@student.tdb.uu.se (Kristofer Maad)
  3. Uploader: m93kma@student.tdb.uu.se (Kristofer Maad)
  4. Type:     dev/e
  5.  
  6. This program is Freeware, but Copyright (C)1996 Kristofer Maad. If you use
  7. this for anything other than your own personal education, you must give me
  8. credit. Contact me if in doubt. The archive may only be spread in its
  9. original form.
  10.  
  11. Example of a MUI custom class written in AmigaE. I used MUI v3.3 and AmigaE
  12. v3.2e during development. This program also shows how to make a custom MUI
  13. class with clipping, a simple way to convert rawkeys to ASCII, and how to
  14. react appropriately on Ctrl-C. 
  15.  
  16. Once the program is started, you can add (make sure to point somewhere in
  17. the white region), remove, and change the multiplicity of control points by
  18. pressing one of the following keys (lowercase only):
  19.  
  20. ===
  21. 'f' - add a control point first in the sequence
  22. 'l' - add a control point last in the sequence
  23. 'b' - add a control point before the currently selected one
  24. 'a' - add a control point after the currently selected one
  25. 'd' - delete the currently selected control point
  26. 'm' - change the multiplicity of the currently selected control point
  27. ===
  28.  
  29. You can drag a control point around to change the appearance of the curve.
  30. The curve will change interactively.
  31.  
  32. The sliders below control the resolution of the rendering - one for the
  33. static display, one for when you drag a control point around. The two
  34. checkmarks let you control whether you would like the control points to be
  35. visible, and whether you want the curve to be editable.
  36.